import React from 'react'
const Home=React.lazy(()=>import('../views/home'))
const List=React.lazy(()=>import('../views/list'))
const MainLayout=React.lazy(()=>import('../views/mainLayout'))
const Oss=React.lazy(()=>import('../views/oss'))
export const ROUTER_LIST_CHILDREN=[
    {
        path:'/',
        element:<Home/>,
        title:'首页'
    },
    {
        path:'/list',
        element:<List/>,
        title:'列表'
    },
    {
        path:'/oss',
        element:<Oss/>,
        title:'上传'
    }
]
export const ROUTER_LIST=[
    {
        path:'/',
        element:<MainLayout/>,
        children:ROUTER_LIST_CHILDREN
    }
]